package com.hdax.dm.feign.item;

import com.hdax.dm.entity.item.DmCinemaSeat;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
@FeignClient(value = "dm-item-provider")
public interface DmCinemaSeatFeign {

    @PostMapping(path = "/item/seat/getSeatList")
    List<DmCinemaSeat> getSeatList(@RequestParam("scheduleId")Long scheduleId);
}
